Skip to content

Conversation

@supershal
Copy link
Contributor

@supershal supershal commented Jun 26, 2025

What problem does this PR solve?:
Adds antiAffinity to ensure that registry pods are scheduled on the control plane nodes.
Adds tolerations and nodeAffinity to the registry pods to ensure that they are scheduled on the control plane nodes.

Which issue(s) this PR fixes:
Fixes #

How Has This Been Tested?:

  • E2E tests
  • Manual tests

Special notes for your reviewer:

@supershal supershal self-assigned this Jun 26, 2025
@supershal supershal requested a review from dkoshkin June 26, 2025 00:43
@supershal supershal marked this pull request as ready for review June 27, 2025 23:40
@supershal supershal force-pushed the shalin/registry-affinity branch from a5e096e to de58dbd Compare June 28, 2025 00:06
@supershal supershal force-pushed the shalin/registry-affinity branch from de58dbd to 6c30e5a Compare June 30, 2025 16:10
@supershal supershal force-pushed the shalin/registry-affinity branch from 6c30e5a to 446a932 Compare July 2, 2025 02:57
@supershal supershal requested a review from dkoshkin July 2, 2025 14:17
Copy link
Contributor

@dkoshkin dkoshkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@thunderboltsid thunderboltsid self-requested a review July 2, 2025 16:05
@supershal supershal merged commit 4c7bec6 into main Jul 2, 2025
36 of 38 checks passed
@supershal supershal deleted the shalin/registry-affinity branch July 2, 2025 17:21
This was referenced Jul 3, 2025
dlipovetsky pushed a commit that referenced this pull request Jul 4, 2025
🤖 I have created a release *beep* *boop*
---


## 0.31.0 (2025-07-03)

<!-- Release notes generated using configuration in .github/release.yaml
at main -->

## What's Changed
### Exciting New Features 🎉
* feat: Allow configuration of kube-proxy mode on cluster creation by
@jimmidyson in
#1163
* feat: auto enable registry addon in workload clusters by @dkoshkin in
#1175
* feat(ntp): Configure NTP for clusters by @thunderboltsid in
#1185
* feat: adds a generic checker package with registry and mirror checks
by @faiq in
#1186
* feat: deploy registry syncer for workload clusters by @dkoshkin in
#1189
* feat(preflight): Add VM Image kubernetes version check by
@thunderboltsid in
#1172
* feat: CAREN support for NutanixFailureDomain by @yanhua121 in
#1192
### Fixes 🔧
* fix: Do not run preflight checks if Cluster is paused by @dlipovetsky
in
#1181
* fix: misc fixes to the preflight framework by @dlipovetsky in
#1188
* fix(preflight): improved error reporting for storage container and VM
image checks by @thunderboltsid in
#1180
* fix(file): rename test/request/capa.go and test/request/capx.go by
@thunderboltsid in
#1193
* fix: Move preflight skip annotation constants to api module by
@dlipovetsky in
#1187
* fix: Include correct field name in registry preflight check results by
@dlipovetsky in
#1194
* fix: add tolerations and nodeAffinity overrides for registry addon by
@supershal in
#1183
* fix: include GenericNodeSpec in aggregate type by @dkoshkin in
#1182
* fix: Do not treat expected preflight check failures as internal errors
by @dlipovetsky in
#1195

## New Contributors
* @yanhua121 made their first contribution in
#1192

**Full Changelog**:
v0.30.0...v0.31.0

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants